package com.scuec.groupfive.service.impl;

import com.scuec.groupfive.mapper.DailyLearningTrendMapper;
import com.scuec.groupfive.service.DailyLearningTrendService;
import com.scuec.groupfive.vo.DailyLearningTrendVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DailyLearningTrendServiceImpl implements DailyLearningTrendService {

    @Resource
    private DailyLearningTrendMapper dailyLearningTrendMapper;

    @Override
    public List<DailyLearningTrendVO> getDailyAnswerTrend(Integer userId) {
        return dailyLearningTrendMapper.selectDailyAnswerTrend(userId);
    }
}